package com.yyq.gxdc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yyq.gxdc.entity.ReceiveCoupon;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 */
public interface ReceiveCouponMapper extends BaseMapper<ReceiveCoupon> {

    IPage<ReceiveCoupon> getAllReceiveCoupon(Page<ReceiveCoupon> page, @Param("query") ReceiveCoupon receiveCoupon);

    public ReceiveCoupon findByUidAndRid(@Param("query") ReceiveCoupon receiveCoupon);
}
